package com.caosy.grassthinkremote.common;

public class GtrConstant {
    /**
     * 添加用户的分布式锁
     */
    public static final String REDISSON_ADD_USER_LOCK = "addUserLock";

    /**
     * 查询商品列表的key
     */
    public static final String REDIS_QUERY_COMMODITY_LIST_KEY = "queryCommodityList";

    /**
     * 添加入购物车的分布式锁
     */
    public static final String REDISSON_ADD_TO_CART_LOCK = "addToCartLock";
    /**
     * 购物车查询前缀
     */
    public static final String REDIS_QUERY_COMMODITY_CART_PREFIX = "queryCommodityCart:";

    public static String REDIS_TOKEN_KEY_PREFIX = "token:";

    public static String LOCAL_USERNAME_KEY = "localUsername";

    public static String LOCAL_MD5_TOKEN_KEY = "localToken";

    /**
     * 初始管理员账号
     */
    public static String ADMIN_USERNAME = "csy";

    /**
     * 初始管理员密码
     */
    public static String ADMIN_PASSWORD = "csy123";

    /**
     * redis查询用户列表的key
     */
    public static String REDIS_QUERY_USER_LIST_KEY = "queryUserList";
}
